﻿using Microsoft.Phone.Tasks;
using Q42.WinRT.Data;
using SpaceNeedle.SDK.Windows.Platform.Commands;
using SpaceNeedle.SDK.Windows.Platform.Data;
using SpaceNeedle.SDK.WindowsPhone;
using SpaceNeedle.x6473.WindowsPhone.Common;
using SpaceNeedle.x6473.WindowsPhone.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Input;

namespace SpaceNeedle.x6473.WindowsPhone.ViewModels
{
    public class AlertsViewModelSampleData : AlertsViewModel
    {
        public AlertsViewModelSampleData()
        {
            this.Alerts = new ObservableCollection<Alert>();

            Alert alert = new Alert();
            alert.Title = "Inundação no centro";
            alert.Description = "Evite as avenidas Paulista e Vergueiro devido a uma grande inundação";
            alert.CreationDate = DateTime.Now;

            this.Alerts.Add(alert);

            alert = new Alert();
            alert.Title = "Obrigado!";
            alert.Description = "Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado Obrigado ";
            alert.CreationDate = DateTime.Now;

            this.Alerts.Add(alert);

            alert = new Alert();
            alert.Title = "Nova versão";
            alert.Description = "Versão 1.0 do aplicativo pronta";
            alert.CreationDate = DateTime.Now;

            this.Alerts.Add(alert);
        }
    }
}
